#include "widget.h"
#include "ui_widget.h"
#include <QPushButton>

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

//    QPushButton* button = new QPushButton(this);
//    button->setGeometry(0,0,780,580);
//    button->setText("一个按钮");
//    button->setStyleSheet("QPushButton {border: 3px solid green; margin : 30px 40px 40px 20px;}");

}

Widget::~Widget()
{
    delete ui;
}

